for loop for increment id of div in jquery

66

for (let i = 0; i < 6; i++) {
  $(`#my_id_${i}`).val('test');
}

Comments

Submit
0 Comments